<?php
/**
 * @package WordPress
 * @subpackage APrints_Theme
 */
?>
<?php
/*
Template Name: Category
*/
/* In our case, this means 'Blog' */
?>

<?php get_header();?>
		<div id="content">


    <h2>About this blog</h2>
    <ul>
        <li>Name: <?php single_cat_title(); ?></li>
        <?php if(function_exists("arpr_get_blog_link")) :?>
        <li>URL: <?php echo "<a href='".arpr_get_blog_link($cat)."' title='".arpr_get_blog_link($cat)."'>".arpr_get_blog_link($cat)."</a>"; ?></li>
        <?php endif;?>
    </ul>

	<h2>Posts in this blog</h2>

<ul>

<?php while (have_posts()) : the_post(); ?>
          <li class="opener" id="opener_<?php the_ID(); ?>">
                <a title="Click to read more"><?php the_author() ?> 
                (<?php the_time('F jS, Y') ?>).</a>
                <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>. 
                <em><?php the_category(', ') ?></em>.
                <div class="excerpt" id="excerpt_<?php the_ID(); ?>"><?php the_excerpt() ?></div>
            </li>
<?php endwhile; ?>

</ul>

</div>



<?php get_footer();?>